package com.sgst.job.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author pywang
 * @Description
 * @date 2020-04-22 16:31
 **/
@Component
public class TestJob {

    @Scheduled(fixedRate = 1000)
    public void test(){
        System.out.println("test-----------");
    }
}
